import request from '@/utils/request'
//专家评审团队接口
export function expertsReviewTeamQuery(data) { //分页列表
    return request({
        method: 'get',
        url: '/expertsReviewTeam/query',
        params: data
    })
}

export function expertsReviewTeamQueryById(id) { //查询
    return request({
        method: 'get',
        url: '/expertsReviewTeam/query/' + id,
    })
}

export function expertsReviewTeamAdd(data) { //添加
    return request({
        method: 'post',
        url: '/expertsReviewTeam/add',
        data
    })
}

export function expertsReviewTeamDelete(id) { //删除
    return request({
        method: 'get',
        url: '/expertsReviewTeam/delete/' + id,
    })
}

export function expertsReviewTeamUpdate(data) { //修改
    return request({
        method: 'post',
        url: '/expertsReviewTeam/update',
        data
    })
}

export function expertsReviewTeamSetLeader(data) { //修改
    return request({
        method: 'post',
        url: '/expertsReviewTeam/setLeader',
        data
    })
}